<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


require_once './db_conn.php';
$id = isset($_GET['id']) ? $_GET['id']: 0;


$sql = "
    delete from ly
    where id='$id'
    ";

$result = $conn->query($sql);
header("location:book.php");